import http from "../../request.js"
// latestProducts(1,10,{})
// /lejuClient/home/latestProducts/${start}/${limit} ? id=1
// 分类列表
function findAllOrders(data) {
	return http({
		url: `/lejuClient/order/findAllOrders`,
		data: data //1308336521604599809
	})
}

// 取消订单
function cancelOrder(id, data) {
	return http({
		url: `/lejuClient/order/cancelOrder/${id}`,
		method: "POST",
		data: data //1308336521604599809
	})
}


// 取消订单
function receiveDone(data) {
	return http({
		url: `/lejuClient/order/receiveDone`,
		method: "POST",
		data: data //1308336521604599809
	})
}


export {
	findAllOrders,
	cancelOrder,
	receiveDone
}
